package cn.edu.ctbu.service;

import cn.edu.ctbu.domain.Rank;
import cn.edu.ctbu.domain.Resultss;

public interface ResultService {

    java.util.List<Resultss> getAllResult();

    java.util.List<Resultss> selectByStuId(String stuId);

    java.util.List<Resultss> selectByStuIdAndResTerm(String stuId, String resTerm);

    int addResult(Resultss resultss);

    int deleteResultById(int resId);

    Resultss selectResultByStuIdAndSubName(String stuId, String subName);

    Resultss selectResultByResId(int resId);

    java.util.List<Rank> selectRankByTerm(String resTerm);

    java.util.List<Rank> selectRankByTermAndStuClass(String resTerm, String stuClass);
}
